package com.woniu.account.service;

import com.github.pagehelper.PageInfo;
import com.woniu.account.dto.Coach.CoachDto;
import com.woniu.account.model.Coach;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.account.param.User.UpdateNickNameParam;
import com.woniu.account.param.coach.CoachLoginParam;
import com.woniu.account.param.coach.CoachRegisterParam;
import com.woniu.account.param.coach.PageCoachParam;
import com.woniu.account.param.coach.UpdateCoachParam;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 杜岷芫
 * @since 2024年07月11日
 */
public interface CoachService extends IService<Coach> {

    void sendRegisterCode(String mobile) throws Exception;

    void CodeRegister(CoachRegisterParam param) throws Exception;

    CoachDto login(CoachLoginParam toBean);

    PageInfo<CoachDto> pageAllCoach(PageCoachParam toBean);

    CoachDto updateCoach(UpdateCoachParam param);
}
